<?php

define('RIVER_WIRE_NAME', 'river_wire');

function river_wire_init() {
    if (get_context () == 'dashboard') {
        elgg_extend_view('riverdashboard/welcome', 'river_wire/insert_wire');
    }
}

register_action("thewire/add",false,$CONFIG->pluginspath . "river_wire/actions/add.php");
register_elgg_event_handler('init','system','river_wire_init');